package com.yunxi.model.freeze;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2019-06-14
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_amount_freeze")
@ApiModel(value="AmountFreeze对象", description="")
public class AmountFreeze implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "FREEZE_ID", type = IdType.UUID)
    private String freezeId;

    @ApiModelProperty(value = "经销商编码")
    @TableField("PARTNER_CODE")
    private String partnerCode;

    @ApiModelProperty(value = "车型")
    @TableField("MODEL_CODE")
    private String modelCode;

    @ApiModelProperty(value = "车系")
    @TableField("SERIES_CODE")
    private String seriesCode;

    @ApiModelProperty(value = "配置")
    @TableField("CATALOG_CODE")
    private String catalogCode;

    @ApiModelProperty(value = "冻结金额")
    @TableField("FREEZE_AMOUNT")
    private BigDecimal freezeAmount;

    @ApiModelProperty(value = "订单类型（批售、寄售、直销）")
    @TableField("ORDER_TYPE")
    private Integer orderType;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_DATE",fill = FieldFill.INSERT)
    private Date createDate;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_DATE",fill = FieldFill.UPDATE)
    private Date updateDate;

    @ApiModelProperty(value = "修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @ApiModelProperty(value = "状态1启用0禁用")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "备注")
    @TableField("MEMO")
    private String memo;

    @ApiModelProperty(value = "冻结比例")
    @TableField("FREEZE_RATIO")
    private BigDecimal freezeRatio;


}
